<?php
/* --------------------------------------------------------------- *
 *        WARNING: ALL CHANGES IN THIS FILE WILL BE LOST
 *
 *   Source language file: C:\Web\WebData\scripts\fshl\fshl-0.4.11\fshl/lang/CPP_lang.php
 *       Language version: 1.0 (Sign:SHL)
 *
 *            Target file: C:\Web\WebData\scripts\fshl\fshl-0.4.11\fshl/fshl_cache/CPP_lang.php
 *             Build date: Sat 26.3.2005 00:27:44
 *
 *      Generator version: 0.4.5
 * --------------------------------------------------------------- */
class CPP_lang
{
var $trans,$flags,$data,$delim,$class,$keywords;
var $version,$signature,$initial_state,$ret,$quit;
var $pt,$pti,$generator_version;
var $names;

function CPP_lang ()
{
	$this->version='1.0';
	$this->signature='SHL';
	$this->generator_version='0.4.5';
	$this->initial_state=0;
	$this->trans=array(0=>array(0=>array(0=>5,1=>0,),1=>array(0=>1,1=>-1,),2=>array(0=>2,1=>0,),3=>array(0=>6,1=>0,),4=>array(0=>7,1=>0,),5=>array(0=>8,1=>0,),6=>array(0=>9,1=>0,),7=>array(0=>0,1=>0,),),1=>array(0=>array(0=>10,1=>0,),),2=>array(0=>array(0=>4,1=>0,),1=>array(0=>3,1=>0,),2=>array(0=>3,1=>0,),3=>array(0=>10,1=>1,),),3=>array(0=>array(0=>3,1=>0,),1=>array(0=>3,1=>0,),2=>array(0=>10,1=>1,),),4=>array(0=>array(0=>10,1=>1,),),5=>array(0=>array(0=>10,1=>0,),1=>array(0=>5,1=>0,),),6=>array(0=>array(0=>10,1=>0,),),7=>array(0=>array(0=>10,1=>0,),),8=>array(0=>array(0=>10,1=>0,),1=>array(0=>8,1=>0,),),9=>array(0=>array(0=>10,1=>0,),1=>array(0=>9,1=>0,),),);
	$this->flags=array(0=>0,1=>5,2=>4,3=>0,4=>0,5=>4,6=>4,7=>4,8=>4,9=>4,);
	$this->delim=array(0=>array(0=>'#',1=>'ALPHA',2=>'NUMBER',3=>"\"",4=>"'",5=>'/*',6=>'//',7=>'_COUNTAB',),1=>array(0=>'!SAFECHAR',),2=>array(0=>'x',1=>'.',2=>'NUMBER',3=>'!NUMBER',),3=>array(0=>'.',1=>'f',2=>'!NUMBER',),4=>array(0=>'!HEXNUM',),5=>array(0=>"\n",1=>"\\\n",),6=>array(0=>"\"",),7=>array(0=>"'",),8=>array(0=>'*/',1=>'_COUNTAB',),9=>array(0=>"\n",1=>'_COUNTAB',),);
	$this->ret=10;
	$this->quit=11;
	$this->names=array(0=>'OUT',1=>'KEYWORD',2=>'NUM',3=>'DEC_NUM',4=>'HEX_NUM',5=>'PREPROC',6=>'QUOTE1',7=>'QUOTE2',8=>'COMMENT1',9=>'COMMENT2',10=>'_RET',11=>'_QUIT',);
	$this->data=array(0=>null,1=>null,2=>null,3=>null,4=>null,5=>null,6=>null,7=>null,8=>null,9=>null,);
	$this->class=array(0=>null,1=>null,2=>'cpp-num',3=>'cpp-num',4=>'cpp-num',5=>'cpp-preproc',6=>'cpp-quote',7=>'cpp-quote',8=>'cpp-comment',9=>'cpp-comment',);
	$this->keywords=array(0=>'cpp-keywords',1=>array('bool'=>1,'break'=>1,'case'=>1,'catch'=>1,'char'=>1,'class'=>1,'const'=>1,'const_cast'=>1,'continue'=>1,'default'=>1,'delete'=>1,'deprecated'=>1,'dllexport'=>1,'dllimport'=>1,'do'=>1,'double'=>1,'dynamic_cast'=>1,'else'=>1,'enum'=>1,'explicit'=>1,'extern'=>1,'false'=>1,'float'=>1,'for'=>1,'friend'=>1,'goto'=>1,'if'=>1,'inline'=>1,'int'=>1,'long'=>1,'mutable'=>1,'naked'=>1,'namespace'=>1,'new'=>1,'noinline'=>1,'noreturn'=>1,'nothrow'=>1,'novtable'=>1,'operator'=>1,'private'=>1,'property'=>1,'protected'=>1,'public'=>1,'register'=>1,'reinterpret_cast'=>1,'return'=>1,'selectany'=>1,'short'=>1,'signed'=>1,'sizeof'=>1,'static'=>1,'static_cast'=>1,'struct'=>1,'switch'=>1,'template'=>1,'this'=>1,'thread'=>1,'throw'=>1,'true'=>1,'try'=>1,'typedef'=>1,'typeid'=>1,'typename'=>1,'union'=>1,'unsigned'=>1,'using'=>1,'uuid'=>1,'virtual'=>1,'void'=>1,'volatile'=>1,'__wchar_t'=>1,'wchar_t'=>1,'while'=>1,'__abstract'=>1,'__alignof'=>1,'__asm'=>1,'__assume'=>1,'__based'=>1,'__box'=>1,'__cdecl'=>1,'__declspec'=>1,'__delegate'=>1,'__event'=>1,'__except'=>1,'__fastcall'=>1,'__finally'=>1,'__forceinline'=>1,'__gc'=>1,'__hook'=>1,'__identifier'=>1,'__if_exists'=>1,'__if_not_exists'=>1,'__inline'=>1,'__int8'=>1,'__int16'=>1,'__int32'=>1,'__int64'=>1,'__interface'=>1,'__leave'=>1,'__m64'=>1,'__m128'=>1,'__m128d'=>1,'__m128i'=>1,'__multiple_inheritance'=>1,'__nogc'=>1,'__noop'=>1,'__pin'=>1,'__property'=>1,'__raise'=>1,'__sealed'=>1,'__single_inheritance'=>1,'__stdcall'=>1,'__super'=>1,'__try_cast'=>1,'__try'=>1,'__unhook'=>1,'__uuidof'=>1,'__value'=>1,'__virtual_inheritance'=>1,'__w64'=>1,),);
}

/* OUT */
function isd0 ()
{
$p=$this->pti;
$c1=$this->pt[$p++];
$c2=$c1.$this->pt[$p];
if($c1=='#')
	return array(0,'#');
if(ctype_alpha($c1))
	return array(1,$c1);
if(ctype_digit($c1))
	return array(2,$c1);
if($c1=="\"")
	return array(3,"\"");
if($c1=="'")
	return array(4,"'");
if($c2=='/*')
	return array(5,'/*');
if($c2=='//')
	return array(6,'//');
if(stristr("\t\n",$c1))
	return array(7,$c1);
return false;
}

/* KEYWORD */
function isd1 ()
{
$c1=$this->pt[$this->pti];
if(!(ctype_alnum($c1) || $c1=='_'))
	return array(0,$c1);
return false;
}

/* NUM */
function isd2 ()
{
$c1=$this->pt[$this->pti];
if($c1=='x')
	return array(0,'x');
if($c1=='.')
	return array(1,'.');
if(ctype_digit($c1))
	return array(2,$c1);
if(!ctype_digit($c1))
	return array(3,$c1);
return false;
}

/* DEC_NUM */
function isd3 ()
{
$c1=$this->pt[$this->pti];
if($c1=='.')
	return array(0,'.');
if($c1=='f')
	return array(1,'f');
if(!ctype_digit($c1))
	return array(2,$c1);
return false;
}

/* HEX_NUM */
function isd4 ()
{
$c1=$this->pt[$this->pti];
if(!ctype_xdigit($c1))
	return array(0,$c1);
return false;
}

/* PREPROC */
function isd5 ()
{
$p=$this->pti;
$c1=$this->pt[$p++];
$c2=$c1.$this->pt[$p];
if($c1=="\n")
	return array(0,"\n");
if($c2=="\\\n")
	return array(1,"\\\n");
return false;
}

/* QUOTE1 */
function isd6 ()
{
$c1=$this->pt[$this->pti];
if($c1=="\"")
	return array(0,"\"");
return false;
}

/* QUOTE2 */
function isd7 ()
{
$c1=$this->pt[$this->pti];
if($c1=="'")
	return array(0,"'");
return false;
}

/* COMMENT1 */
function isd8 ()
{
$p=$this->pti;
$c1=$this->pt[$p++];
$c2=$c1.$this->pt[$p];
if($c2=='*/')
	return array(0,'*/');
if(stristr("\t\n",$c1))
	return array(1,$c1);
return false;
}

/* COMMENT2 */
function isd9 ()
{
$c1=$this->pt[$this->pti];
if($c1=="\n")
	return array(0,"\n");
if(stristr("\t\n",$c1))
	return array(1,$c1);
return false;
}

}
?>